<template>
  <BackHeader :title="lang.detail_title" />
  <div class="warp-box">
    <div class="warp warp1">
      <NuxtImg src="/images/activity/vip/details_1.png" />
    </div>
    <div class="warp warp-border warp2">
      <p class="title" style="white-space: nowrap">
        {{ lang.detail_intro_title }}
      </p>
      <p class="text">
        {{ lang.detail_intro_line1 }}
      </p>
      <p class="tel">
        {{ lang.detail_intro_telegram_label }}
        <a target="_blank" :href="lang.detail_intro_telegram_url">
          {{ lang.detail_intro_telegram_url }}
        </a>
      </p>
    </div>
    <div class="warp warp-border warp3">
      <p class="title">
        {{ lang.detail_how_title }}
      </p>
      <p class="text">
        {{ lang.detail_how_line1 }}<br />
        {{ lang.detail_how_line2 }}<br />
        {{ lang.detail_how_line3 }}<br />
        {{ lang.detail_how_line4 }}
      </p>
      <div class="box">
        <NuxtImg src="/images/activity/vip/details_2.png" />
        <p class="text">{{ lang.detail_aqui_text }}</p>
      </div>
    </div>
    <div class="warp warp-border warp4">
      <p class="title">
        {{ lang.detail_types_title }}
      </p>
      <div class="box">
        <p class="t-img">
          <NuxtImg src="/images/activity/vip/BonusCabinet_3.png" />
          <span>{{ lang.detail_cashback_title }}</span>
        </p>
        <p class="text">
          {{ lang.detail_cashback_l1 }}<br />
          {{ lang.detail_cashback_l2 }}<br />
          {{ lang.detail_cashback_l3 }}<br />
          {{ lang.detail_cashback_l4 }}
        </p>
      </div>
      <div class="box">
        <p class="t-img">
          <NuxtImg src="/images/activity/vip/BonusCabinet_4.png" />
          <span>{{ lang.detail_daily_title }}</span>
        </p>
        <p class="text">
          {{ lang.detail_daily_l1 }}<br />
          {{ lang.detail_daily_l2 }}<br />
          {{ lang.detail_daily_l3 }}<br />
          {{ lang.detail_daily_l4 }}<br />
          {{ lang.detail_daily_l5 }}<br />
          {{ lang.detail_daily_l6 }}<br />
          {{ lang.detail_daily_l7 }}
        </p>
      </div>
      <div class="box">
        <p class="t-img">
          <NuxtImg src="/images/activity/vip/BonusCabinet_5.png" />
          <span>{{ lang.detail_weekly_title }}</span>
        </p>
        <p class="text">
          {{ lang.detail_weekly_l1 }}<br />
          {{ lang.detail_weekly_l2 }}<br />
          {{ lang.detail_weekly_l3 }}<br />
          {{ lang.detail_weekly_l4 }}<br />
          {{ lang.detail_weekly_l5 }}<br />
          {{ lang.detail_weekly_l6 }}
        </p>
      </div>
      <div class="box">
        <p class="t-img">
          <NuxtImg src="/images/activity/vip/BonusCabinet_6.png" />
          <span>{{ lang.detail_monthly_title }}</span>
        </p>
        <p class="text">
          {{ lang.detail_monthly_l1 }}<br />
          {{ lang.detail_monthly_l2 }}<br />
          {{ lang.detail_monthly_l3 }}<br />
          {{ lang.detail_monthly_l4 }}<br />
          {{ lang.detail_monthly_l5 }}<br />
          {{ lang.detail_monthly_l6 }}
        </p>
      </div>
    </div>
    <div class="warp warp-border warp5">
      <p class="title">
        {{ lang.detail_level_bonus_title }}
      </p>
      <p class="text">
        {{ lang.detail_level_l1 }}<br />
        {{ lang.detail_level_l2 }}<br />
        {{ lang.detail_level_l3 }}<br />
        {{ lang.detail_level_l4 }}<br />
        {{ lang.detail_level_l5 }}
      </p>
      <div class="box">
        <ul>
          <li>
            <NuxtImg src="/images/user/vipSignIn_0.png" />
            <p>{{ lang.level_novice }}</p>
          </li>
          <li>
            <NuxtImg src="/images/user/vipSignIn_1.png" />
            <p>{{ lang.level_bronze }}</p>
          </li>
          <li>
            <NuxtImg src="/images/user/vipSignIn_2.png" />
            <p>{{ lang.level_silver }}</p>
          </li>
          <li>
            <NuxtImg src="/images/user/vipSignIn_3.png" />
            <p>{{ lang.level_gold }}</p>
          </li>
          <li>
            <NuxtImg src="/images/user/vipSignIn_4.png" />
            <p>{{ lang.level_platinum }}</p>
          </li>
          <li>
            <NuxtImg src="/images/user/vipSignIn_5.png" />
            <p>{{ lang.level_diamond }}</p>
          </li>
          <li>
            <NuxtImg src="/images/user/vipSignIn_6.png" />
            <p>{{ lang.level_blood_diamond }}</p>
          </li>
          <li>
            <NuxtImg src="/images/user/vipSignIn_7.png" />
            <p>{{ lang.level_vibranium }}</p>
          </li>
        </ul>
      </div>
    </div>
    <div class="btn" v-click-move @click="handleGetBonus">
      {{ lang.detail_get_bonus }}
    </div>
  </div>
</template>

<script setup lang="ts">
const lang: any = getCurrentPageLang("activity/vip");

function handleGetBonus() {
  navigateTo({ name: "activity-vip", replace: true });
}
</script>

<style scoped lang="scss">
.warp-box {
  width: 100%;
  padding: 0.13rem 0.235rem 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
  margin-top: 1.44rem;
}
.warp {
  width: 100%;
  color: var(--theme-neutral1);
  text-align: center;
}
.warp img {
  width: 100%;
}
.warp-border {
  border-radius: var(--border-radius);
  padding: 0.5rem 0.4rem;
  box-sizing: border-box;
  background: var(--theme-color4);
}
.warp p,
.warp span {
  font-family: Arial;
  font-size: var(--font-size3);
  font-weight: 300;
  line-height: 0.45rem;
  word-wrap: break-word;
  word-break: keep-all;
}
.warp .title {
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-size: var(--font-size6);
}
.warp .text {
  color: var(--theme-neutral2);
  text-align: left;
}
.warp .tel {
  height: 1rem;
  background: var(--theme-color7);
  border-radius: 0.2rem;
  border: 0.03rem solid var(--theme-color8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
  font-size: 0.34rem;
}
.warp .tel a {
  color: var(--theme-dec4);
}
.warp .box {
  background: var(--theme-color4);
  border-radius: var(--border-radius);
  padding: 0.45rem 0.3rem;
  margin-top: 0.15rem;
}
.warp img {
  width: 100%;
}
.warp .text {
  color: var(--theme-neutral2);
  text-align: left;
}
.warp .box .t-img {
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.warp .box .t-img img {
  width: 1rem;
  object-fit: contain;
  margin-right: 0.2rem;
}
.warp p,
.warp span {
  font-family: Arial;
  font-size: var(--font-size3);
  font-weight: 300;
  line-height: 0.45rem;
  word-wrap: break-word;
  word-break: keep-all;
}
.warp .box .t-img span {
  font-weight: 700;
  font-size: 0.42rem;
}
.warp p,
.warp span {
  font-family: Arial;
  font-size: var(--font-size3);
  font-weight: 300;
  line-height: 0.45rem;
  word-wrap: break-word;
  word-break: keep-all;
}
.warp .text {
  color: var(--theme-neutral2);
  text-align: left;
}
.warp .box {
  background: var(--theme-color4);
  border-radius: var(--border-radius);
  padding: 0.45rem 0.3rem;
  margin-top: 0.15rem;
}
.warp ul {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 5px !important;
}
.warp ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}
.warp ul li img {
  width: 56px !important;
}
.warp ul p {
  margin-top: 0.1rem;
  line-height: 0.54rem;
}
.btn {
  width: 95%;
  height: 1.2rem;
  background: linear-gradient(
    360deg,
    var(--theme-main-gradient2) 0%,
    var(--theme-main-gradient1) 81%
  );
  border-radius: 0.3rem;
  margin: 0.3rem auto;
  font-family: Arial;
  font-weight: 700;
  font-size: 0.54rem;
  color: var(--theme-neutral1);
  line-height: 1.2rem;
  text-align: center;
  margin-bottom: 1rem;
}
</style>
